﻿<#--
生成实体的模板
-->
<@pp.dropOutputFile />
<#list project.entities as entity>
<@pp.changeOutputFile name="/src/java/" + pathUrl(project.basepackage!) + "/service/" + entity.className + "Manager.java" />
package ${project.basepackage}.service;

import org.springside.core.dao.HibernateEntityDao;
import ${entity.package}.${entity.className};
<#setting datetime_format="yyyy-MM-dd HH:mm:ss">
/**
 * 业务管理类.
 * <p/>
 * 继承于HibernateEntityDao,不需任何代码即拥有默认的对${entity.className}对象的CRUD函数.
 * 如果想了解不继承于EntityDao,自行编写CRUD的写法, 参考{@link UserManagerNativeVersion}.
 *
 * @author ${project.author}
 * ${pp.now}
 * @see HibernateEntityDao
 * @see org.springside.core.dao.HibernateGenericDao
 */
public class ${entity.className}Manager extends HibernateEntityDao<${entity.className}> {
	//....CRUD以外的其它商业方法
}
</#list>